package com.telit.firecommand.vo;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;


/**
 * 根据火情id，获取执行该火情任务的护林员列表
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class FireHlyListVo {

    private String fireId;

    //执行人ID
    @ApiModelProperty("执行人ID")
    @JsonSerialize(using = ToStringSerializer.class)
    private Long personId;

    @ApiModelProperty("执行人姓名")
    private String personName;

}
